package com.zyh.system.supermarket.dao;

import com.zyh.system.supermarket.domain.UserInfo;

import java.util.TreeMap;

public interface UserDao {
    void selectAll(TreeMap<String, UserInfo> map);
    boolean deleteUserInfoById(TreeMap<String, UserInfo> map,String delId);
    UserInfo selectById(TreeMap<String, UserInfo> map,String id);
    boolean addUserInfo(TreeMap<String, UserInfo> map,String id,UserInfo userInfo);
    boolean updateScore(TreeMap<String, UserInfo> map,String id,Integer newScore);
}
